package com.goldfish666.remote_control.controller.tv;

import com.goldfish666.remote_control.controller.base.AbstractCurdControllerWithKey;
import com.goldfish666.remote_control.dto.tv.TVModelDTO;
import com.goldfish666.remote_control.entity.tv.TVModel;
import com.goldfish666.remote_control.pojo.condition.TVModelCondition;
import com.goldfish666.remote_control.service.TVModelService;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(value = "/TVModel", description = "电视型号接口")
@RestController
@RequestMapping("${app.api-base-url}/TVModel")
@RequiredArgsConstructor(onConstructor = @__({@Autowired}))
public class TVModelController extends AbstractCurdControllerWithKey<TVModelDTO, TVModel, TVModelService, TVModelCondition> {
}
